<div class="modal-header">
    {{multiLan?('缺货报表'|translate):'缺货报表'}} <i class="yb-icon ico-close" ng-click="cancel()"></i>
</div>
<div class="modal-body tb-wrap">
    <div class="pos-r">
        <div yb-table-fixed class="table-fixed-wrap">
            <div>
                <table class="table border-none" width="{{editTbConf.scrollWidth}}">
                    <thead>
                    <tr>
                        <th width="13%">{{multiLan?('客户名称'|translate):'客户名称'}}</th>
                        <th width="19%">{{multiLan?('单据编号'|translate):'单据编号'}}</th>
                        <th width="10%">{{multiLan?('单据类型'|translate):'单据类型'}}</th>
                        <th width="12%">{{multiLan?('零件编号'|translate):'零件编号'}}</th>
                        <th width="14%">{{multiLan?('零件中文名'|translate):'零件中文名'}}</th>
                        <th width="8%">{{multiLan?('总库存'|translate):'总库存'}}</th>
                        <th width="8%">{{multiLan?('计划外'|translate):'计划外'}}</th>
                        <th width="8%">{{multiLan?('计划内'|translate):'计划内'}}</th>
                        <th width="8%">{{multiLan?('缺货数量'|translate):'缺货数量'}}</th>
                    </tr>
                    </thead>
                </table>
            </div>
            <div class="td-scroll" ng-show="dataList.length > 0" ng-style="{'top': isEN ? '108px' :'36px'}">
                <table class="table border-none">
                    <tbody>
                    <tr ng-repeat="item in dataList track by $index">
                        <td width="13%" class="spill-dots" title="{{multiLan?(item.dealerName|translate):item.dealerName}}">{{multiLan?(item.dealerName|translate):item.dealerName}}</td>
                        <td width="19%" class="spill-dots" title="{{multiLan?(item.billNo|translate):item.billNo}}">{{multiLan?(item.billNo|translate):item.billNo}}</td>
                        <td width="10%" class="spill-dots" title="{{multiLan?(item.billType|translate):item.billType}}">{{multiLan?(item.billType|translate):item.billType}}</td>
                        <td width="12%" class="spill-dots" title="{{multiLan?(item.materialsNo|translate):item.materialsNo}}">{{multiLan?(item.materialsNo|translate):item.materialsNo}}</td>
                        <td width="14%" class="spill-dots" title="{{multiLan?(item.materialsDes|translate):item.materialsDes}}">{{multiLan?(item.materialsDes|translate):item.materialsDes}}</td>
                        <td width="8%" class="spill-dots" title="{{multiLan?(item.allInventory|translate):item.allInventory}}">{{multiLan?(item.allInventory|translate):item.allInventory}}</td>
                        <td width="8%" class="spill-dots" title="{{multiLan?(item.outInventory|translate):item.outInventory}}">{{multiLan?(item.outInventory|translate):item.outInventory}}</td>
                        <td width="8%" class="spill-dots" title="{{multiLan?(item.inInventory|translate):item.inInventory}}">{{multiLan?(item.inInventory|translate):item.inInventory}}</td>
                        <td width="6%" class="spill-dots" title="{{multiLan?(item.lackNum|translate):item.lackNum}}">{{multiLan?(item.lackNum|translate):item.lackNum}}</td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <div class="no-data w-full text-center p-t" ng-style="{'top': isEN ? '108px' :'36px'}" ng-show="dataList.length === 0">{{multiLan?('暂时没有数据'|translate):'暂时没有数据'}}</div>
        </div>
    </div>
</div>
<div class="modal-footer">
    <div yb-page-info ng-model="pageInfo" yb-refresh="search()"></div>
</div>